<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui">
	<h:form id="employeeProfileDetailForm">

		<p:tabView id="employeeProfileDetailTabView">
			<p:tab id="employeeProfileDetailTab1" title="employeeProfileDetailTab1">
				<p:panelGrid style="width:100%">
					<p:row>
						<p:column rowspan="8" colspan="2" style="vertical-align:top">
							<p:outputLabel value="#{text['label.employeeProfile.firstName']}" />
							<br />
							<p:graphicImage value="resources/images/img.png" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel for="firstname" value="#{text['label.employeeProfile.firstName']}" />
						</p:column>
						<p:column>
							<p:inputText value="#{employeeProfileList.employeeProfile.firstName}" label="Firstname" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel for="middleName" value="#{text['label.employeeProfile.middleName']}" />
						</p:column>
						<p:column>
							<p:inputText id="middleName" value="#{employeeProfileList.employeeProfile.middleName}" required="true"
								label="middleName" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="lastname" value="#{text['label.employeeProfile.lastname']}" />
						</p:column>
						<p:column>
							<p:inputText id="lastname" value="#{employeeProfileList.employeeProfile.lastname}" required="true" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="fullName" value="#{text['label.employeeProfile.fullName']}" />
						</p:column>
						<p:column>
							<p:inputText id="fullName" value="#{employeeProfileList.employeeProfile.fullName}" required="true" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="sex" value="#{text['label.employeeProfile.sex']}" />
						</p:column>
						<p:column>
							<p:inputText id="sex" value="#{employeeProfileList.employeeProfile.sex}" required="true" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="birthday" value="#{text['label.employeeProfile.birthday']}" />
						</p:column>
						<p:column>
							<p:inputText id="birthday" value="#{employeeProfileList.employeeProfile.birthday}" required="true" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="secondName" value="#{text['label.employeeProfile.secondName']}" />
						</p:column>
						<p:column colspan="3">
							<p:inputText id="secondName" value="#{employeeProfileList.employeeProfile.secondName}" required="true" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="birthPlace" value="#{text['label.employeeProfile.birthPlace']}" />
						</p:column>
						<p:column colspan="3">
							<p:inputText id="birthPlace" value="#{employeeProfileList.employeeProfile.birthPlace}" required="true" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="originHomeTown" value="#{text['label.employeeProfile.originHomeTown']}" />
						</p:column>
						<p:column colspan="3">
							<p:inputText id="originHomeTown" value="#{employeeProfileList.employeeProfile.originHomeTown}" required="true" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="nation" value="#{text['label.employeeProfile.nation']}" />
						</p:column>
						<p:column>
							<p:inputText id="nation" value="#{employeeProfileList.employeeProfile.nation}" required="true" />
						</p:column>
						<p:column colspan="2">
							<p:selectBooleanCheckbox id="isStaying" value="#{employeeProfileList.employeeProfile.isStaying}" />
							<p:outputLabel for="isStaying" value="#{text['label.employeeProfile.isStaying']}" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel for="folk" value="#{text['label.employeeProfile.folk']}" />
						</p:column>
						<p:column colspan="3">
							<p:inputText id="folk" value="#{employeeProfileList.employeeProfile.folk}" required="true" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel for="religion" value="#{text['label.employeeProfile.religion']}" />
						</p:column>
						<p:column colspan="3">
							<p:inputText id="religion" value="#{employeeProfileList.employeeProfile.religion}" required="true" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel for="maritalStatus" value="#{text['label.employeeProfile.maritalStatus']}" />
						</p:column>
						<p:column colspan="3">
							<p:inputText id="maritalStatus" value="#{employeeProfileList.employeeProfile.maritalStatus}" required="true" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel for="startProbation" value="#{text['label.employeeProfile.startProbation']}" />
						</p:column>
						<p:column>
							<p:inputText id="startProbation" value="#{employeeProfileList.employeeProfile.startProbation}" required="true" />
						</p:column>
						<p:column>
							<p:outputLabel for="startWorking" value="#{text['label.employeeProfile.startWorking']}" />
						</p:column>
						<p:column colspan="3">
							<p:inputText id="startWorking" value="#{employeeProfileList.employeeProfile.startWorking}" required="true" />
						</p:column>
					</p:row>

					<p:row>
						<p:column>
							<p:outputLabel for="startSAInCompany" value="#{text['label.employeeProfile.startSAInCompany']}" />
						</p:column>
						<p:column>
							<p:inputText id="startSAInCompany" value="#{employeeProfileList.employeeProfile.startSAInCompany}"
								required="true" />
						</p:column>
						<p:column>
							<p:outputLabel for="saNumber" value="#{text['label.employeeProfile.saNumber']}" />
						</p:column>
						<p:column>
							<p:inputText id="saNumber" value="#{employeeProfileList.employeeProfile.saNumber}" required="true" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel for="firstJoinSA" value="#{text['label.employeeProfile.firstJoinSA']}" />
						</p:column>
						<p:column>
							<p:inputText id="firstJoinSA" value="#{employeeProfileList.employeeProfile.firstJoinSA}" required="true" />
						</p:column>
					</p:row>
				</p:panelGrid>

			</p:tab>

			<p:tab id="tab2" title="Godfather Part II">
				<h:panelGrid columns="2" cellpadding="10">
					<p:graphicImage id="tab2Img" value="/images/godfather/godfather2.jpg" />
					<h:outputText id="tab2Text"
						value="Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, The_Godfather, parallels the young Vito Corleone's rise with his son Michael's spiritual fall, deepening The_Godfather's depiction of the dark side of the American dream.  
            In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy,  
            killing the local Black Hand Fanucci after he demands his customary cut of the tyro's business. With Fanucci gone, Vito's communal stature grows." />
				</h:panelGrid>
			</p:tab>

			<p:tab id="tab3" title="Godfather Part III">
				<h:panelGrid columns="2" cellpadding="10">
					<p:graphicImage id="tab3Img" value="/images/godfather/godfather3.jpg" />
					<h:outputText id="tab3Text"
						value="After a break of more than 15 years, director Francis Ford Coppola and writer Mario Puzo returned to the well for this third and final story of the fictional Corleone crime family.  
                Two decades have passed, and crime kingpin Michael Corleone, now divorced from his wife Kay has nearly succeeded in keeping his promise that his family would one day be completely legitimate." />
				</h:panelGrid>
			</p:tab>

		</p:tabView>

	</h:form>
</ui:composition>